import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import { createPinia } from 'pinia';
import 'default-passive-events'; // 滚动性能优化
import './permission'; // 路由拦截
import '@/assets/iconfont/iconfont'; // 图标
import '@/assets/iconfont/iconfont.css'; // 字体图标

import '@/assets/styles/index.css';

const app = createApp(App);
app.use(router);
app.use(createPinia());
app.mount('#app');

export default app;
